package com.glw.sso.platform.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.glw.sso.platform.common.base.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统角色表
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-11-14
 */
@Getter
@Setter
@TableName("system_role")
@ApiModel(value = "Role对象", description = "系统角色表")
public class Role extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色唯一标识")
    private String uuid;

    @ApiModelProperty("系统标示")
    private String appId;

    @ApiModelProperty("说明")
    private String discription;

    @ApiModelProperty("是否默认角色 0:不是；1：是")
    private Boolean isDefault;

    @ApiModelProperty("角色状态 0：无效；1：有效")
    private Boolean state;

    @ApiModelProperty("角色排序")
    private Integer orderNum;

    @ApiModelProperty("备注")
    private String remark;


}
